//
// Created by kyour on 9/1/2023.
//

#ifndef ESP32_LIVE_PUSH_WS_SERVICE_H
#define ESP32_LIVE_PUSH_WS_SERVICE_H

#include "WebSocketsClient.h"

void initWs();
void wsLoop();
void webSocketEvent(WStype_t type, uint8_t * payload, size_t length);
void sendBin(uint8_t * payload, size_t length);
bool wsIsConnected();
void captureVideo();

#endif //ESP32_LIVE_PUSH_WS_SERVICE_H
